.chat {
    display: flex;
    justify-content: space-between;
    height: 100vh;
}

.chat_left {
    width: 22%;
    border-right: 1px solid black;
    max-height: 100%;
    overflow: scroll;
    padding: 20px;
}

.chat_right {
    width: 77%;
    padding: 20px;
    background: #f5f5f5;
}

.chat_left>.contract {}

.chat_item {
    display: flex;
    height: 80px;

}

.chat_item>div:nth-child(1) {
    width: 30%;
}

.chat_item>div:nth-child(1)>img {
    height: 100%;
    width: 100%;
    border-radius: 4px;
}

.chat_item>div:nth-child(2) {
    width: 70%;
    padding: 10px;
}

.chat_item>div:nth-child(2)>div:nth-child(1) {
    font-size: 20px;
    font-weight: bold;
}

.chat_item>div:nth-child(2)>div {

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
}
.chat_item{
    margin: 10px 0;
}